package com.relytosoft.mizar.media.analyze.services.mapper.structure;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.relytosoft.mizar.media.analyze.api.entity.structure.AyStructureTask;
import com.relytosoft.mizar.media.analyze.api.pojo.query.AyStructureTaskQuery;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyStructureTaskVo;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyTaskSelectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * AyStructureTaskMapper
 *
 * @Author SunLi
 * @Date: 2022/5/31 16:40
 * @Version 1.0
 */
@Mapper
public interface AyStructureTaskMapper extends BaseMapper<AyStructureTask> {

    /**
     * 分页查询结构化分析任务
     * @param page
     * @param ayStructureTaskQuery
     * @return
     */
    Page<AyStructureTaskVo> selectPageTaskList(@Param("page") Page<AyStructureTaskVo> page, @Param("ayStructureTaskQuery") AyStructureTaskQuery ayStructureTaskQuery);

    List<AyTaskSelectVo> selectTaskList();

}
